Repository navigation
Conversation
Member
|
Thanks for the report. I've confirmed the bug described in the linked issue, and I’ll keep the issue open to track it. I'm closing this PR, though. This project doesn't accept unsolicited, agent-generated pull requests from accounts with no prior involvement in the project. This PR arrived as part of a batch of six across two repositories in about 40 minutes, each opened seconds after its issue, and as an indie dev with limited resources, I can't take on reviewing and maintaining code submitted that way. I'll triage and handle the bug fixes on a schedule that is consistent with my resources and the bug’s impact. If you use this tool and run into problems with it, issues describing what you were doing and what went wrong are welcome. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
llms-txt-coverage leaves sitemap pages out of the denominator when they sit under a nested llms.txt that the walker did not descend into. The test was
norm.startsWith(p), so an omitted /docs/chains/eth/llms.txt also removed every page under /docs/chains/ethereum-classic/, or any other path that just starts with the same letters. Those pages are not in llms.txt, but they never show up as missing and coverage comes out higher than it is.The prefix now has to equal the path or be followed by a slash, the same boundary matchesPathPrefix uses for the base path.
The new test has an omitted /docs/chains/eth index and a sitemap page under /docs/chains/ethereum-classic/ that llms.txt does not list. On main that page is counted in omittedSubtreePages and the check passes at 100%. With the change it is listed in missingFromLlmsTxt.
Fixes #171